using System;
using System.Collections.Generic;
using System.Text;

namespace Xivo.Shared {
  public interface IXivoRecorder {
    event Xivo.Shared.Delegates.StringEvent onFilenameChange;
    string RecordPath {
      get;set;
    }
    string FileName {
      get;
      set;
    }
    ChannelInfo Info
    {
      get;set;
    }

    //void StartRecording();
    void StartRecording(ChannelInfo info, bool SplitRecordings);
    void StopRecording();
    bool Recording {
      get;
    }

    TimeSpan RecordTime {
      get;
    }

    string RecordTimeStr
    {
      get;
    }

    string State {
      get;
    }

    System.Windows.Forms.Control getOptionPanel();
  }
}
